package com.example.springbootdemo.autowired;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class MyDao {

    //@Value("dao.dao.dao")
    private String dao;

    public String getDao() {
        return dao;
    }

    public void setDao(String dao) {
        this.dao = dao;
    }

    @Override
    public String toString() {
        return "MyDao{" +
                "dao='" + dao + '\'' +
                '}';
    }
}
